/**
 * Vuex 全局状态管理
 * @see https://vuex.vuejs.org/en/
 * @author Zeon scplay@gmail.com
 * @date 2017/8/5
 * @copyright Created by Panxsoft.
 */

import Vue from 'vue';
import Vuex from 'vuex';
import userToken from './modules/userToken';
import spinShow from './modules/spinShow';

const config = {
    modules: {
        userToken,
        spinShow
    }
};

Vue.use(Vuex);

const store = new Vuex.Store(config);

export default store;
